# Ask the user how many values they will input
count_input = input("How many values will be entered? ")

# Check if the input is a valid number
if count_input.isdigit():
    count = int(count_input)

    if count <= 0:
        print(f"{count} is not a valid number of values.")
    else:
        odd_count = 0  # Counter for odd numbers
        even_count = 0  # Counter for even numbers
        entered_numbers = 0  # Counter for valid entered numbers

        for i in range(1, count + 1):
            value = input(f"Please enter value #{i}: ")

            # Check if the value is a valid number
            if value.isdigit():
                number = int(value)
                entered_numbers += 1  # Count valid input

                # Check if the number is even or odd
                if number % 2 == 0:
                    even_count += 1  # Increment even count
                else:
                    odd_count += 1  # Increment odd count
            else:
                print(f"{value} is an invalid input.")

        # Print the result
        print(f"Entered numbers: {entered_numbers} odd: {odd_count} even: {even_count}")

else:
    print(f"{count_input} is not a valid number of values.")
